﻿@model IEnumerable<WebBanHang.Models.SanPham>

<div class="product_list">
    @foreach (var sanPham in this.Model)
    {
        <div class="product_list_detail colborder_all">
            <div class="product_list_detail_image">
                <a title="@sanPham.TenSanPham" href="@Url.Action("Details", "SanPham", new { id = sanPham.SanPhamId })">
                    <img  src="~/Images/Upload/Products/@sanPham.HinhAnh" />
                </a>
            </div>
            <div class="product_list_detail_name">
                <a  title="@sanPham.TenSanPham" href="@Url.Action("Details", "SanPham", new { id = sanPham.SanPhamId })">
                    @sanPham.TenSanPham
                </a>
            </div>
            <div class="product_list_detail_price">
                Giá: @sanPham.Gia.Value.ToString("n0")
            </div>
        </div>        
    }    
</div>